VimUnDo  aUOҾfIJ[;7>__<  margin-top:8em;"^__'  "v"^ @&(6; var ustensiles = recette.select("#ustensiles");5_ 4  "v"^,A 65 script-src 'self' 'unsafe-inline';5_ E  "v"^B 6F script-src 'self' 'unsafe-inline' http://localhost;5_ $  "v"^C 6% img-src 'self';5_ J 5 IvI^D 6K script-src 'self' 'unsafe-inline' http://localhost:8000;5_   "v"^G 6% default-src 'self';5_v^H ">% form-action 'self';% base-uri 'self'; 5 style-src 'self' 'unsafe-inline'; 0 img-src 'self' filesystem; % connect-src 'self'; V script-src 'self' 'unsafe-inline' http://localhost:8000 filesystem; % default-src 'none';  content=" 2 var ingredients = recette.select("g#ingredients");5_**4v^N350 ingredients.hover(hide_uf, show_uf);2413 }02. fabrication.attr({opacity:1});/1- ustensiles.attr({opacity:1});.0 function show_uf() {-/,. }+-. fabrication.attr({opacity:0});*,- ustensiles.attr({opacity:0});)+ function hide_uf() {5_^e: :95_^h5_! ! 42v2^mO "9! var recette = Snap();2 Snap.load("cookies.svg", function(f) {* var svg = f.select("svg");$ recette.append(svg); });= var ingredients = recette.select("#ingredients");< var ustensiles = recette.select("#ustensiles");= var fabrication = recette.select("#fabrication");# // function hide_uf() {0 // ustensiles.attr({opacity:0});1 // fabrication.attr({opacity:0}); // } //# // function show_uf() {0 // ustensiles.attr({opacity:1});1 // fabrication.attr({opacity:1}); // } //3 // ingredients.hover(hide_uf, show_uf);5_! ! !>v2^} %& !"&5_"! !>v2^Ȁ!# if (error) throw error;5_#! !>v2^ȁ"$1 document.body.appendChild(xml.documentElement);5_$! !>v2^ȁ#%});5_!!!v^ȇP ")U d3.xml("rect01.svg").mimeType("image/svg+xml").get(function(error, xml) {5_#!!v^ȏQ"$)? document.body.appendChild(xml.documentElement);5_ !!v^ "*  ")5_!""v^ "* Load the SVG5_! ! ! V ^R "! Load the external SVG5_%! ! V ^%%(+%'*5_" ! ! V ^6!#,V d3.xml("cookies.svg").mimeType("image/svg+xml").get(function(error, xml) {5_' ! ! V ^A&*, 5_)! ! V ^s(*.# .attr("opacity:0.5)5_)! ! V ^u(*.# .attr("opacity,0.5)5_)$! ! V ^wS(,.$ .attr("opacity",0.5)5_+"! ! V ^ɉT*,0" .attr("opacity",1)5_+"! ! V ^+61,-1+-05_(+(V^'(! .on("mouseenter")$ .attr("opacity",0.5)! .on("mouseleave")# .attr("opacity",1);5_(((V^')6.on("mouseover", function(d) {5_))1 V^02 })/1 }.0@ .style("top", (d3.event.pageY - 24) + "px"); -/@ .style("left", (d3.event.pageX + 5) + "px") ,.4 div .html(d.datetime.substring(0,10) ) +-, .style("opacity", .8); *,$ .duration(200) )+$ div.transition() (*2 if(d3.select(this).style("opacity") != 0){5_*()1 V^)+60 div.transition() 5_+*)1 V^*,60 .duration(200) 5_,2)1 V^+-68 .style("opacity", .8); 5_->)1 V^,.6@ div .html(d.datetime.substring(0,10) ) 5_.G)1 V^-/6L .style("left", (d3.event.pageX + 5) + "px") 5_--=/HVH^,-> div .html(d.datetime.substring(0,10) )G .style("left", (d3.event.pageX + 5) + "px")L .style("top", (d3.event.pageY - 24) + "px"); 5_***v^?U)+3( div.transition()5_" " "v^U!#3b const svg = d3.xml("cookies.svg").mimeType("image/svg+xml").get(function(error, xml) {5_'" "v^W&(3 svg5_' " "v^Y&(3 svg 5_'" "v^ZV&)3 var svg 5_*" "v^m)*> if(d3.select(this).style("opacity") != 0){5_-" "v^m,- }5_*$*$,$v$^nW+-2 .style("opacity", .8);*,* .duration(200))+) this.transition()5_***v^nZ)+2% this.transition()5_*'!'#v#^nZ[)+2" d.transition()5_*'!'#v#^n)+2% this.transition()5_*"'!'#v#^n\),2/ d3.select(this.transition()5_-+'!'#v#^o],.3. .style("opacity", .8);5_*'!'#v#^of)+3# d3.select(this)5_''!'#v#^os&(3' var svg = d3.select("svg");5_'&'!'#v#^ot&(3* var svg = d3.selectAll("svg");5_''!'#v#^ov&(3( var svg = d3.selectAll("g");5_('!'#v#^oz')3 svg5_('!'#v#^o~')3 gropus5_('!'#v#^o')3 grous5_++-V^o,.. .style("opacity", .5);+-& .duration(200)*,% .transition()5_*+-V^o^*,4 *,35_''+ +$v$^o&(4+ var groups = d3.selectAll("g");5_+%+ +$v$^o*,4/ .style("color", "red");5_+-+ +$v$^o_*,40 .style("stroke", "red");5_ + +$v$^p!5  45_)')')*v*^p#(*6. var groups = d3.selectAll("path");5_---V^p(-/6-.6,.4 .style("stroke", "#ff0000");5_. . .%v%^p*`-/74 .style("stroke", "#ff0000");5_)(. .%v%^pT(*7+ var groups = d3.selectAll("p");5_  v^pX!7

OK blabla

5_  v^p\!7

Recettes

5_  v^p]!7

Recettes

5_  v^p`a!7

Recettes

5_---V^pm,.7 // .style("stroke", "#ff0000");5_...V^pob-/3 .style("color", "#ff0000");5_)'..V^pc(*7. var groups = d3.selectAll("path");5_-3..V^p-/8 -/75_.!//V^p-/8! console.log()5_. //V^p-/8" console.log();5_.!//V^pd-/8$ console.log("");5_)*//V^p(*82 var groups = d3.selectAll("svg path");)*85_)*//V^p(*8U var groups = d3.selectAll("svgrecette_du_tuyau_floral_débordé_1 path");5_)*//V^pe(*8V var groups = d3.selectAll("svg#recette_du_tuyau_floral_débordé_1 path");5_)')')JvH^pf(*8S var groups = d3.selectAll("#recette_du_tuyau_floral_débordé_1 path");5_((3v$^q'58()85_)))v^q(*D. var groups = d3.selectAll("path");5_)&)&))v)^q(*D- var title = d3.selectAll("path");5_* * *v^q)+D groups5_-* *v^q ,-4 .style("stroke", "#ff0000");5_...V^q-/6 // .style("color", "#ff0000");5_ ."..V^q./D3 .style("color", "#ff0000");,.C5_  .!--V^qg-/C, console.log("selected");5_   9!9!9(v(^qh8:C, console.log("selected");5_   49!9(v(^qi35C. var groups = d3.selectAll("path");5_   4;9!9(v(^rt46D46C5_  5:!:(v(^r}46Dconsole.log(groups);5_ 5:!:(v(^r}46D console.log(groups);5_5:!:(v(^r~46D console.log(groups);5_) :!:(v(^r)+D)*D5_*;!;(v(^rj)+E console.log(groups);5_$ ;!;(v(^r#%EV d3.xml("cookies.svg").mimeType("image/svg+xml").get(function(error, xml) {5_';!;(v(^r')F')E5_(<!<(v(^rk')Fconsole.log(svg);5_666(v(^s l57F< var groups = d3.select("svg").selectAll("path");5_666(v(^s57F/ var groups = svg.selectAll("path");5_6&66(v(^sm57F9 var groups = d3.select(svg.selectAll("path");5_+ 66(v(^s8n*+ console.log(title);5_&55&v&^t`%'EC document.body.appendChild(xml.documentElement);5_(55&v&^tl(*F(*E5_$66&v&^tv#%F` var svg = d3.xml("cookies.svg").mimeType("image/svg+xml").get(function(error, xml) {5_(66&v&^ty')F console.log(svg);5_) 66&v&^t{o(*F 5_ )466&v&^t)+G)+F5_! *77&v&^tp)+G console.log(svg)5_ "!777&v&^tq68G: var groups = d3.select(svg).selectAll("path");5_!#"777&v&^t68G/ var groups = svg.selectAll("path");5_"$#777&v&^tr68G1 var groups = svg//.selectAll("path");5_#%$777v^ts68G2 var groups = svg;//.selectAll("path");5_$&%=77v^t<=( console.log("path");5_%'&177v^t01) console.log("title");5_&(',,4v^ut35 })241 // .style("opacity", .5);13) // .duration(200)02( // .transition()/13 .style("color", "#ff0000");.0# d3.select(this)-/. .on("mouseover", function(d) {,. title+-+ var title = d3.selectAll("h1");5_')(;3,4v^uu;=F ;=E5_(*)<',4v^u;<G( console.log("path");=?F5_)+*=,4v^u<=G( console.log("path");>@F5_*,+>,4v^u=>G( console.log("path");?AF5_+-,?,4v^u>?G( console.log("path");@BF5_,.-@,4v^u@AG( console.log("path");>@F5_-/.?,4v^u?@G( console.log("path");=?F5_.0/>,4v^u>?G( console.log("path");<>F5_/10=,4v^u=>G( console.log("path");;=F5_021<,4v^u<=G( console.log("path");:<F5_132;,4v^uv;<G( console.log("path");9;F5_2436(,4v^uw57F/ var groups = svg.selectAll("path");5_3546(6(6+v+^vx57F3 var groups = svg.selectAll("svg path");5_475( ( ( V ^vB{') console.log(xml);5_5867666v^v|57F/ var groups = svg.selectAll("path");5_798!^dT!"H#%G!#F5_8:9#^dW"7G#$G5_9;:6^dW5:Z});5_:<;##6v^d["7]Wd3.xml("http://upload.wikimedia.org/wikipedia/commons/a/a0/Circle_-_black_simple.svg", + function(error, documentFragment) {, if (error) {console.log(error); return;}" var svgNode = documentFragment0 .getElementsByTagName("svg")[0];. //use plain Javascript to extract the node/ main_chart_svg.node().appendChild(svgNode);7 //d3's selection.node() returns the DOM node, so we0 //can use plain Javascript to append content0 var innerSVG = main_chart_svg.select("svg");4 innerSVG.transition().duration(1000).delay(1000) .select("circle") .attr("r", 100);});5_;=<##7V^d`"8]_ d3.xml("http://upload.wikimedia.org/wikipedia/commons/a/a0/Circle_-_black_simple.svg", 3 function(error, documentFragment) {4 if (error) {console.log(error); return;}* var svgNode = documentFragment8 .getElementsByTagName("svg")[0];6 //use plain Javascript to extract the node7 main_chart_svg.node().appendChild(svgNode);? //d3's selection.node() returns the DOM node, so we8 //can use plain Javascript to append content8 var innerSVG = main_chart_svg.select("svg");< innerSVG.transition().duration(1000).delay(1000)# .select("circle")" .attr("r", 100); });5_<>=###[v[^dh"$]c d3.xml("http://upload.wikimedia.org/wikipedia/commons/a/a0/Circle_-_black_simple.svg", 5_=?>#"##[v[^dl"$]" d3.xml("cookies.svg", 5_>@?# ##[v[^dn"$]! d3.xml("cookies.svg",7 function(error, documentFragment) {5_?A@###[v[^d#%\#$\5_@BA# ##[v[^d"#E d3.xml("cookies.svg", function(error, documentFragment) {5_ACB'''-v-^d&(\. var svgNode = documentFragment5_BDC' ''-v-^d&(\! var svgNode = xml< .getElementsByTagName("svg")[0];5_CED'!'!'!v!^d}&([B var svgNode = xml .getElementsByTagName("svg")[0];5_DFE***v^d~)+[; main_chart_svg.node().appendChild(svgNode);5_EGF)**v^d)+\ )+[5_FHG///,v,^d.0\< var innerSVG = main_chart_svg.select("svg");5_GIH113$v$^d02Z innerSVG.;02\@ innerSVG.transition().duration(1000).delay(1000)' .select("circle")& .attr("r", 100);5_HJI77Uv^eTV })SU1 // .style("opacity", .5);RT) // .duration(200)QS( // .transition()PR6 // .style("color", "#ff0000");OQ4 .style("stroke", "#ff0000");NP# d3.select(this)MO( console.log("path");LN. .on("mouseover", function(d) {KM groupsJL console.log(groups);IK. var groups = d3.selectAll("path");HJGI // })FH4 // // .style("opacity", .5);EG, // // .duration(200)DF+ // // .transition()CE6 // .style("color", "#ff0000");BD& // d3.select(this)AC1 // .on("mouseover", function(d) {@B // title?A. // var title = d3.selectAll("h1");>@=? console.log(svg);<>5 var svg = d3.select(xml.documentElement);;= // console.log(xml);:< });9;? document.body.appendChild(xml.documentElement);8:' if (error) throw error;79` var xml = d3.xml("cookies.svg").mimeType("image/svg+xml").get(function(error, xml) {68$ // Load the external SVG5_IKJ/11DvD^e:/1[ /1Z5_JLK222DvD^eK13[F innerSVG.selectAll("path").style("stroke","#fff0000");5_KML2622DvD^eP15[R var paths = innerSVG.selectAll("path").style("stroke","#fff0000");5_LNM322DvD^eT24] 5_MON4)22DvD^ef35]1 paths.style("stroke","#fff0000");5_NPO422DvD^el35]0 paths.style("stroke","#ff0000");5_OQP4$22DvD^e36]@ paths.on("mouseover").style("stroke","#ff0000");5_PRQ522DvD^e46^, ).style("stroke","#ff0000");5_QSR5>22DvD^e47^> d3.select(this).style("stroke","#ff0000");5_RTS::Zv5^e9;_"' // // Load the external SVGc // var xml = d3.xml("cookies.svg").mimeType("image/svg+xml").get(function(error, xml) {* // if (error) throw error;B // document.body.appendChild(xml.documentElement); // });# // // console.log(xml);8 // var svg = d3.select(xml.documentElement); // console.log(svg); //1 // // var title = d3.selectAll("h1"); // // title4 // // .on("mouseover", function(d) {) // // d3.select(this)9 // // .style("color", "#ff0000");. // // // .transition()/ // // // .duration(200)7 // // // .style("opacity", .5); // // }) //1 // var groups = d3.selectAll("path");# // console.log(groups); // groups1 // .on("mouseover", function(d) {+ // console.log("path");& // d3.select(this)7 // .style("stroke", "#ff0000");9 // // .style("color", "#ff0000");+ // // .transition(), // // .duration(200)4 // // .style("opacity", .5); // }) 5_SUT(9::v5^e()?: //use plain Javascript to extract the node&(>5_TVU'::v5^e&(>: //use plain Javascript to extract the node5_UWV';::v5^e&(>; // Use plain Javascript to extract the node5_VXW%::v5^e$&>8 if (error) {console.log(error); return;}5_WYX%::v5^e$&>7 if(error) {console.log(error); return;}5_XZY(::v5^f*,1 body.node().appendChild(svgNode);')A var svgNode = xml.getElementsByTagName("svg")[0];5_Y[Z:::v5^f:=? :<>5_Z\[<::v5^f#;=@
d3.select(this).style("stroke","#ff0000");5_dfe*(8586v6^f)+C1 var recipe = d3.select("recipe");5_egf5$8586v6^g-57D 57C5_fhg439596v6^g236D3 paths.on("mouseover", function(d) {5_gih5:5:6v6^g546E me = 5_hji5:5:6v6^g646E var me = 5_ikj6#:5:6v6^g>57E> d3.select(this).style("stroke","#ff0000");5_jlk5-:5:6v6^g@47E- var me = d3.select(this);5_kml6;5;6v6^h57F me.data5_lnm6);5;6v6^h57F, me.data(function(d) {});5_mon;3;3;;v;^h:<F> d3.select(this).style("stroke","#000000");5_npo;P;3;;v;^h:<FR d3.select(this).style("stroke",function(d){return me.data(););5_oqp;O;3;;v;^h:<FQ d3.select(this).style("stroke",function(d){return me.data());5_prq6B;3;;v;^h57FE me.data(function(d) {return me.style("stroke")});5_qsr;#;3;;v;^h:=FR d3.select(this).style("stroke",function(d){return me.data(););5_rts;;3;;v;^h:<G# d3.select(this)5_sut;,;3;;v;^h:<G, var me = d3.select(this)5_tvu<;3;;v;^h;=I me.style("stroke",function(d){return me.data(););5_uwv<C;3;;v;^<;=GE me.style("stroke",function(d){return me.data(););5_vxw666/v/^57GF me.data(function(d) {return me.style("stroke");});5_wyx6.66/v/^57G2 me.data(me.style("stroke");});5_xzy6.66/v/^57G1 me.data(me.style("stroke")});5_y{z866/v/^78 5_z|{;9;9;AvA^:<FF me.style("stroke",function(d){return me.data();});5_{}|666#v#^57F0 me.data(me.style("stroke"));5_|~}6/66#v#^57F1 me.data([me.style("stroke"));5_}~5,66#v#^57G 57F5_~6177#v#^*57G7 // Save the stroke color in te data5_6377#v#^,57G8 // Save the stroke color in the data5_6977#v#^057G9 // Save the stroke color in D3's data5_;,77#v#^5;=H ;=G5_202023v3^_13H7 var paths = innerSVG.selectAll("path");5_202023v3^13H4 var paths = innerSVG.selectAll("g");5_242023v3^13H8 var paths = innerSVG.selectAll("paths");5_712023v3^79I 79H5_32023v3^23# console.log(paths);5_02023v3^/0& console.log(innerSVG);5_/1013v3^027 var paths = innerSVG.selectAll("path");.04 var innerSVG = recipe.select("svg");5_81013v3^8:G5_121013v3^03H2 var paths = svg.selectAll("path");5_/.1013v3^>/3J /1I5_24043v3^@12+ steps.forEach(function(d) {5_13033v3^@01D var steps = d3.select("[inkscape:groupmode=layer]");5_12023v3^@015_# # #v^@"$I` var xml = d3.xml("cookies.svg").mimeType("image/svg+xml").get(function(error, xml) {5_/.1#9v(^C/2J /1I5_E3#;v(^CDIK 5_G 3#;v(^CFHN